﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="WebApplication2.Web.index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd >

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>装备制造部-项目管理</title>
    <link href="../css/font.css" rel="stylesheet" />
    <link href="../css/xadmin.css" rel="stylesheet" />
    <script src="../js/jquery-3.2.1.min.js"></script>
    <script src="../lib/layui/layui.js"></script>
    <script src="../js/xadmin.js"></script>
    <script src="../js/xcity.js"></script>
    <script src="../js/cookie.js"></script>

<style type="text/css">

.container .search:hover {
  cursor: pointer;
}
.container .search::before {
  content: "";
  position: absolute;
  margin: auto;
  top: 22px;
  right: 0;
  bottom: 0;
  left: 22px;
  width: 12px;
  height: 2px;
  background: white;
  transform: rotate(45deg);
  transition: all .5s;
}
.container .search::after {
  content: "";
  position: absolute;
  margin: auto;
  top: -5px;
  right: 0;
  bottom: 0;
  left: -5px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 2px solid white;
  transition: all .5s;
}
.container input {
  font-family: 'Microsoft YaHei UI', monospace;
  margin-top:7px;
  width: 125px;
  height: 30px;
  outline: none;
  border: none;
  border-radius: 30px;
}
</style>
</head>
<body>
    <!-- 顶部开始 -->
    <div class="container">
        <div class="logo"><a href="./Index.aspx">项目进度</a></div>
        <div class="left_open">
            <i title="展开左侧栏" class="iconfont">&#xe699;</i>
        </div>
        <ul class="layui-nav left fast-add" lay-filter="">
        </ul>
        <ul class="layui-nav right" lay-filter="">
            <li class="layui-nav-item" style="">
                <%--<form class="layui-form">--%>
                    <div style="display:inline-block">
                     <input type="text" placeholder="Search..."  lay-submit="" id="keyword">
                     <button class="layui-btn "  lay-filter="search" lay-submit="" id="btn-search">搜索</button></div>
               <%--</form>--%>
            </li>
            <li class="layui-nav-item">
                <a href="./User.aspx" id="comboUser">未登录</a>
                <dl class="layui-nav-child">
                    <!-- 二级菜单 -->
                    <dd><a onclick="x_admin_show('更改密码','./UpdatePWD.aspx')">个人信息</a></dd>
                    <dd><a href="./Login.aspx">切换帐号</a></dd>
                    <dd><a href="./login.aspx">退出</a></dd>
                </dl>
            </li>
        </ul>
    </div>

    <!-- 顶部结束 -->
    <!-- 中部开始 -->
    <!-- 左侧菜单开始 -->
    <div class="left-nav">
        <div id="side-nav">
            <ul id="nav">
                <%--只有管理员以上权限才能变更项目状态--%>
                <li>
                    <a href="javascript:;">
                        <i class="iconfont">&#xe723;</i>
                        <cite>项目进度变更</cite>
                        <i class="iconfont nav_right">&#xe697;</i>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a _href="./AddProject.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>新建项目</cite>
                            </a>
                        </li>

                        <li>
                            <a _href="./ProjectChange.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>项目进度更新</cite>
                            </a>
                        </li>

                        <%--  <li>
                        <a _href="order-list.html">
                            <i class="iconfont">&#xe6a7;</i>
                            <cite>项目信息变更</cite>
                        </a>
                    </li >--%>
                        <li>
                            <a _href="Delete.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>删除</cite>
                            </a>
                        </li>
                    </ul>
                </li>


                <li>
                    <a href="javascript:;">
                        <i class="iconfont">&#xe6b8;</i>
                        <cite>项目进度状态</cite>
                        <i class="iconfont nav_right">&#xe697;</i>
                    </a>
                    <ul class="sub-menu">

                          <li>
                            <a _href="./All.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>全部项目</cite>

                            </a>
                        </li>

                        <li>
                            <a _href="./Status0.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>方案评估以及策划</cite>
                            </a>
                        </li>
                        <li>
                            <a _href="./Status1.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>设计中</cite>

                            </a>
                        </li>
                        <li>
                            <a _href="./Status2.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>加工中</cite>

                            </a>
                        </li>
                        <li>
                            <a _href="./Status3.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>装备调试</cite>

                            </a>
                        </li>
                        <li>
                            <a _href="./Status4.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>已完成</cite>

                            </a>
                        </li>

                          <li>
                            <a _href="./Status6.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>暂停中</cite>

                            </a>
                        </li>

                        <li>
                            <a _href="./Status5.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>搜索</cite>

                            </a>
                        </li>

                      

                    </ul>
                </li>
                <li>
                    <a href="javascript:;">
                        <i class="iconfont">&#xe723;</i>
                        <cite>完成情况</cite>
                        <i class="iconfont nav_right">&#xe697;</i>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a _href="./Year.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>年度完成统计</cite>
                            </a>
                        </li>

                        <li>
                            <a _href="./Season.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>季度完成统计</cite>
                            </a>
                        </li>

                        <li>
                            <a _href="./Month.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>月度完成统计</cite>
                            </a>
                        </li>
                        <li>
                            <a _href="./Year.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>汇总</cite>
                            </a>
                        </li>
                    </ul>
                </li>

                <li>
                    <a href="javascript:;">
                        <i class="iconfont">&#xe723;</i>
                        <cite>风险评估</cite>
                        <i class="iconfont nav_right">&#xe697;</i>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a _href="./Risk.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>无风险</cite>
                            </a>
                        </li>

                        <li>
                            <a _href="./Risk.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>一般风险</cite>
                            </a>
                        </li>

                        <li>
                            <a _href="./Risk.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>中等风险</cite>
                            </a>
                        </li>
                        <li>
                            <a _href="./Risk.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>急需加速</cite>
                            </a>
                        </li>
                    </ul>
                </li>

                <li>
                    <a href="javascript:;">
                        <i class="iconfont">&#xe723;</i>
                        <cite>设置</cite>
                        <i class="iconfont nav_right">&#xe697;</i>
                    </a>
                    <ul class="sub-menu">
                        <li>
                            <a _href="./UpdatePWD.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>修改密码</cite>
                            </a>
                        </li>

                        <li>
                            <a _href="./AddUser.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>新增用户</cite>
                            </a>
                        </li>

                        <li>
                            <a _href="./Risk.aspx">
                                <i class="iconfont">&#xe6a7;</i>
                                <cite>操作记录</cite>
                            </a>
                        </li>
                        <li>
                            <a href="./Login.aspx">
                                <i class="iconfont">&#x1007;</i>
                                <cite>退出</cite>
                            </a>
                        </li>
                    </ul>
                </li>

            </ul>
        </div>
    </div>
    <!-- <div class="x-slide_left"></div> -->
    <!-- 左侧菜单结束 -->
    <!-- 右侧主体开始 -->
    <div class="page-content">
        <div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false" name="xbs-filter">
            <ul class="layui-tab-title">
                <li class="home"><i class="layui-icon">&#xe68e;</i>我的桌面</li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show" lay-filter="demo">
                    <iframe src='./welcome.aspx' frameborder="0" scrolling="yes" name="main_iFrame" class="x-iframe"></iframe>
                </div>
            </div>
        </div>
    </div>
    <div class="page-content-bg"></div>
    <!-- 右侧主体结束 -->
    <!-- 中部结束 -->
    <!-- 底部开始 -->
    <div class="footer">
        <div class="copyright">Copyright ©2018 五菱汽车工业有限公司-制造工程部-工艺集成科 All Rights Reserved</div>
    </div>
    <!-- 底部结束 -->
    <script type="text/javascript">
        $(document).ready(function () {
            var localUsrName = "<%=GetempName%>";
            $("#comboUser").text(localUsrName);
        });
        layui.use(['form','element'], function () {
            var form = layui.form;
            var element = layui.element;

            var url = "./NewSearch.aspx";
            var id =1
            $("#btn-search").click(function () {
                setCookie("keyword", $("#keyword").val());
                element.tabAdd('xbs_tab', {
                    title: '“' + $("#keyword").val() + '”的搜索结果'
                    , content: '<iframe frameborder="0" src="'+url+'">'
                    , id: 'idnew'
                });
                element.tabChange('xbs_tab', 'idnew');
            });
        });
    </script>
</body>
</html>
